//
//  NameHolder.h
//  TabNav
//
//  Created by Kalyan Mudumbai on 8/29/10.
//  Copyright 2010 GOLDMAN SACHS. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NameHolder : NSObject {
	NSMutableArray * nameStringArray;
	NSMutableArray * shortDescStringArray;
	
	NSMutableArray * nameStringsForSlokaArray;
	NSMutableArray * sdStringForSlokaArray;
	
	NSArray * actualData;
	NSMutableArray * nameDataDictArray;
	
}

//@property (nonatomic, retain) NSMutableArray * nameStringArray;
//@property (nonatomic, retain) NSMutableArray * shortDescStringArray;

@property (nonatomic,retain) NSArray * actualData;
@property (nonatomic, retain) NSMutableArray * nameDataDictArray;

-(void) loadNames;

-(NSArray*) getAllNameStrings;
-(NSArray*) getAllShortDescriptionStrings;
-(NSArray*) getNameStringsForSlokaNumber:(NSUInteger)slokaNumber;
-(NSArray*) getShortDescriptionStringsForSlokaNumber:(NSUInteger)slokaNumber;

//TODO: Change the name of this method to a more meaningful one
//This is infact - get me the data for the name whose position in 'x' in the sloka numbered 'n'
-(NSDictionary*) getDataForNameId:(NSUInteger)nameId InSloka:(NSUInteger)slokaNumber;

-(NSDictionary*) getDataForNameId:(NSUInteger)nameId;

@end
